<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">报价类型</label>
            <div class="layui-input-block">
                {foreach $select_list_type as $k=>$v}
                <input type="radio" name="type" value="{$k}" title="{$v}" {in name="k" value="0" }checked="" {/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">报价名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入报价名称" value="">
                {include file='app/gpu_price/form/title_plus'/}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">报价</label>
            <div class="layui-input-block">
                <input type="text" name="price" class="layui-input" lay-verify="required" placeholder="请输入报价" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">报价链接</label>
            <div class="layui-input-block">
                <input type="text" name="link" class="layui-input" placeholder="请输入报价链接" value="">

            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">配置说明</label>
            <div class="layui-input-block">
                <textarea name="desc" class="layui-textarea" placeholder="请输入配置说明"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">截图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="desc_image" class="layui-input layui-col-xs6" placeholder="请上传截图" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="desc_image" data-upload-number="one" data-upload-exts="*image" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_desc_image" data-upload-select="desc_image" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">比价状态</label>
            <div class="layui-input-block">
                {foreach $select_list_status as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="1" }checked="" {/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">GPU</label>
            <div class="layui-input-block">
                <div data-toggle="table-data" data-index="{:__url('app.gpu/index')}" data-select-type="radio" data-select-value="{$Request.param.gpu_id}" data-value-field="id" data-name="gpu_id" data-field-name="title" data-required="1">

                </div>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>